package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ReimbursementApplicationMapper;
import com.ruoyi.system.domain.ReimbursementApplication;
import com.ruoyi.system.service.IReimbursementApplicationService;

/**
 * 医保基金-报销申请Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-04-13
 */
@Service
public class ReimbursementApplicationServiceImpl implements IReimbursementApplicationService 
{
    @Autowired
    private ReimbursementApplicationMapper reimbursementApplicationMapper;

    /**
     * 查询医保基金-报销申请
     * 
     * @param id 医保基金-报销申请主键
     * @return 医保基金-报销申请
     */
    @Override
    public ReimbursementApplication selectReimbursementApplicationById(Long id)
    {
        return reimbursementApplicationMapper.selectReimbursementApplicationById(id);
    }

    /**
     * 查询医保基金-报销申请列表
     * 
     * @param reimbursementApplication 医保基金-报销申请
     * @return 医保基金-报销申请
     */
    @Override
    public List<ReimbursementApplication> selectReimbursementApplicationList(ReimbursementApplication reimbursementApplication)
    {
        return reimbursementApplicationMapper.selectReimbursementApplicationList(reimbursementApplication);
    }

    /**
     * 新增医保基金-报销申请
     * 
     * @param reimbursementApplication 医保基金-报销申请
     * @return 结果
     */
    @Override
    public int insertReimbursementApplication(ReimbursementApplication reimbursementApplication)
    {
        return reimbursementApplicationMapper.insertReimbursementApplication(reimbursementApplication);
    }

    /**
     * 修改医保基金-报销申请
     * 
     * @param reimbursementApplication 医保基金-报销申请
     * @return 结果
     */
    @Override
    public int updateReimbursementApplication(ReimbursementApplication reimbursementApplication)
    {
        return reimbursementApplicationMapper.updateReimbursementApplication(reimbursementApplication);
    }

    /**
     * 批量删除医保基金-报销申请
     * 
     * @param ids 需要删除的医保基金-报销申请主键
     * @return 结果
     */
    @Override
    public int deleteReimbursementApplicationByIds(Long[] ids)
    {
        return reimbursementApplicationMapper.deleteReimbursementApplicationByIds(ids);
    }

    /**
     * 删除医保基金-报销申请信息
     * 
     * @param id 医保基金-报销申请主键
     * @return 结果
     */
    @Override
    public int deleteReimbursementApplicationById(Long id)
    {
        return reimbursementApplicationMapper.deleteReimbursementApplicationById(id);
    }
}
